class ZtTicketModel {
  bool isUsed = false;
  String ticketNumber = '';
  String parkType = '';
  ZtTicketModel(
      {this.ticketNumber = '', this.isUsed = false, required this.parkType});

  ZtTicketModel.fromJson(Map<String, dynamic> json) {
    ticketNumber = json['ticketNumber'];
    isUsed = json['isUsed'];
    parkType = json['parkType'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['isUsed'] = isUsed;
    data['ticketNumber'] = ticketNumber;
    data['parkType'] = parkType;
    return data;
  }
}
